<!DOCTYPE html>
<html lang="en">
<head>
[#include "/customer/include/static.htm"]
    <link href="${path}/resources/css/user.css?v=2" rel="stylesheet" type="text/css"/>
    <link href="${path}/resources/css/redpaper.css" rel="stylesheet"
          type="text/css" />

[#import "/customer/include/pagination.ftl" as p/]
</head>
<body>
<!--头部-->
[#include "/customer/include/header.ftl"]
<style>
    .voucher_bg_grey{
        background-color: grey;
    }

</style>
<div class="member">
<div id="user-glb-box">
    <div id="user-glb-main-info">
        <!--左栏-->
    [#include "/customer/include/member_left_menu.ftl"]
        <!--左栏 end-->
        <!--右栏-->
        <div class="long_uc f_l" style="width: 995px">
            <div class="tabbox ">
                <div class="tab cur">
                    <a href="">我的红包</a>
                </div>

            </div>
            <div class="uc_box pl25">
            [#list evclist as evc]

                    <div class="voucher_item">
                        <div class="[#if evc.status==-1]voucher_bg_grey[/#if][#if evc.status==0]voucher_bg[/#if][#if evc.status==1]voucher_bg_grey[/#if] pr">
                        [#if evc.status==1]
                            <img src="${path}/resources/images/used.png"
                                 style="position: absolute; margin-top: 145px; margin-left: 80px">
						[/#if]
                            [#if evc.status==-1]
                                <img src="${path}/resources/images/overdue.png"
                                     style="position: absolute; margin-top: 145px; margin-left: 80px">
                            [/#if]
                        <table>
                            <tbody>
                            <tr>
                                <td><span class="bonus_name">${evc.name}</span> <br>
                                    <span>￥${evc.money}</span> <span>投资${evc.tender_limit}可用</span>
											<span>有效期：
											${p2p_date_format(evc.addtime,"yyyy-MM-dd")}
												 至 ${p2p_date_format(evc.over_time,"yyyy-MM-dd ")}
										</span></td>
                            </tr>
                            </tbody>

                        </table>

                    </div>
            </div>
           [/#list]



            <div class="blank0"></div>

        </div>
    </div>

    <div class="clear"></div>
</div>
</div>
</div>
[#include "/customer/include/footer.ftl"]
</body>
</html>